package com.hry.springboot.sharding.jdbc.dao;


import com.hry.springboot.sharding.jdbc.entity.SmartDeviceStudentCourse;
import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;

@Mapper
public interface SmartDeviceStudentCourseMapper {

    SmartDeviceStudentCourse getById(long id);

    void insert(SmartDeviceStudentCourse course);

    SmartDeviceStudentCourse getByUserid(Long userId);
}